﻿using EYangFramework.Domain.Entitys.Entrys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramework.Business.SystemManager.Interfaces
{
    public interface IBLLUser:IBLLBase
    {
        List<User> GetAllList();
        User GetBusinessByID(Guid id);
        User GetUserByName(string Name);
        bool InsertUser(User user);
        bool UpdateUser(User user);
        bool DeleteUser(User user);
        Role GetRoleByName(string roleName);
        List<string> GetRoleNameList();
    }
}
